package zm.irc.mqtt;

import zm.irc.ioc.annotation.Configuration;
import zm.irc.ioc.annotation.Value;

@Configuration(cfgFileName = "mqtt.yml")
public class MyMqttCfg {

    @Value(path = "url")
    private String url;
    
    @Value(path = "clientId")
    private String clientId;

    @Value(path = "userName")
    private String userName;

    @Value(path = "topic")
    private String topic;

    @Value(path = "qos")
    private int qos;
    
    @Value(path = "keepAliveInterval")
    private int keepAliveInterval;
    
    @Value(path = "connectionTimeout")
    private int connectionTimeout;
    
    
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getClientId() {
        return clientId;
    }
    public void setClientId(String clientId) {
        this.clientId = clientId;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getTopic() {
        return topic;
    }
    public void setTopic(String topic) {
        this.topic = topic;
    }
    public int getQos() {
        return qos;
    }
    public void setQos(int qos) {
        this.qos = qos;
    }
    public int getKeepAliveInterval() {
        return keepAliveInterval;
    }
    public void setKeepAliveInterval(int keepAliveInterval) {
        this.keepAliveInterval = keepAliveInterval;
    }
    public int getConnectionTimeout() {
        return connectionTimeout;
    }
    public void setConnectionTimeout(int connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }

    

}
